<include file="Public/header" />
<title>管理员列表</title>
<style>
	.red td,.red td a{
		color:red;
	}
	.yellow td,.yellow td a{
		color:yellow;
	}
	.blue td,.yellow td a{
		color:blue;
	}
</style>
</head>
<body>
<div class="pd-20">
	<div class="page mt  <{$page_nums}>" style="text-align:left">
		<div>  
			<for start="1" end="$page_nums+1">
				<a class="num" href="javascript:exportExcel(<{$i}>)"><{$i}></a>
			</for>
		</div>
	</div>
</div>
<script>
	//批量导出
	function exportExcel(page){
		var url="<{:U('Order/excel_export',array('excel'=>1))}>/?1=1";
		start_time="<{:I('start_time')}>";
		end_time="<{:I('end_time')}>";
		url=url+"&page="+page;
		if(start_time!=""){
			url=url+"&start_time="+start_time;
		}else{
			layer.msg('开始时间不能为空');
			return false;
		}
		if(end_time!=""){
			url=url+"&end_time="+end_time;
		}else{
			layer.msg('结束时间不能为空');
			return false;
		}
		window.location.href=url;
	}

</script>
<include file="Public/footer_js" />
</body>
</html>